<!DOCTYPE HTML>
<html lang="en">
<head>
    <title>文档检索服务配置</title>
    <meta http-equiv="pragma" content="no-cache"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <meta http-equiv="expires" content="0"/>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
    <meta http-equiv="description" content="This is my page"/>
    <!--jquery.toast-->
    <link href="../metronic/assets/global/plugins/jquery.toast.css " rel="stylesheet"/>
    <script src="../metronic/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="../metronic/assets/global/plugins/jquery.toast.min.js" type="text/javascript"></script>
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="../metronic/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"
          type="text/css"/>
    <link href="../metronic/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet"
          type="text/css"/>
    <link href="../metronic/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet"
          type="text/css"/>
    <link rel="stylesheet" type="text/css"
          href="../metronic/assets/global/plugins/bootstrap-touchspin/bootstrap.touchspin.min.css"/>
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/select2/select2.css"/>
    <link rel="stylesheet" type="text/css"
          href="../metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css"/>
    <!-- END PAGE LEVEL STYLES -->
    <!-- BEGIN THEME STYLES -->
    <link href="../metronic/assets/global/css/components.css" id="style_components" rel="stylesheet" type="text/css"/>
    <!-- END THEME STYLES -->
    <style type="text/css">
        .task-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .task-list > li {
            position: relative;
            padding: 10px 10px 10px 0px;
            border-bottom: 2px solid #F4F6F9;
            min-width: 700px;
        }

        .task-list > li:hover {
            background: #F4F6F9;
            cursor: pointer;
        }
    </style>

</head>
<body class="page-header-fixed page-quick-sidebar-over-content "
      style="width: 98%; background: #0f0; background-color: transparent;">
<div class="row" style="margin-top:16px;">
    <div class="col-md-12">
        <div class="portlet box blue-steel">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-globe"></i>文档检索服务配置
                </div>
                <div class="actions">
                    <a id="btn_back" href="javascript:;" class="btn btn-default btn-sm">
                        <i class="fa fa-backward"></i> 返回
                    </a>
                </div>
            </div>
            <div class="portlet-body" style="height:530px;">
                <div style="margin-left: 100px;" class="form-horizontal form-body form-inline">
                    <div class="form-group">
                        <label class="col-md-2 control-label" style="width:130px !important;">服务ID</label>
                        <div class="col-md-4">
                            <input id="guid" name="guid" type="text" class="form-control input-inline input-medium"
                                   style="width:210px !important;" placeholder="请输入服务ID"/>
                        </div>
                    </div>
                    <div class="form-group" style="margin-left: 150px;">
                        <label class="col-md-2 control-label" style="width:131px !important;">服务名称</label>
                        <div class="col-md-4">
                            <input id="servicename" name="servicename" type="text"
                                   class="form-control input-inline input-medium" style="width:210px !important;"
                                   placeholder="请输入服务名称"/>
                        </div>
                    </div>
                    <hr style="margin: 10px"/>
                    <!--<div class="form-group" style="margin-top: 10px;">-->
                    <!--<label class="col-md-2 control-label" style="width:130px !important;">文件夹路径</label>-->
                    <!--<div class="col-md-4">-->
                    <!--<input id="docpath" name="docpath" type="text" class="form-control input-inline input-medium" style="width:210px !important;" placeholder="文件夹路径:temp/user" />-->
                    <!--</div>-->
                    <!--</div>-->
                    <div style="margin-left: -15px;margin-top: 10px;" class="form-group">
                        <label class="col-md-2 control-label lablewidth" style="width:131px !important;">文档来源</label>
                        <div class="col-md-4">
                            <select id="docsource" name="docsource" class="form-control input-inline input-medium"
                                    style="width:210px !important;">
                                <option value="2">FTP服务器</option>
                                <option value="1">本地文档</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group" style="margin-top: 10px;">
                        <label class="col-md-2 control-label"
                               style="margin-left: 165px;width:130px !important;">文件夹路径</label>
                        <div class="col-md-4">
                            <input id="docpath" name="docpath" type="text"
                                   class="form-control input-inline input-medium" style="width:210px !important;"
                                   placeholder="文件夹路径:temp/user"/>
                        </div>
                    </div>
                    <hr style="margin: 10px"/>
                    <!--<div class="form-group" style="margin-top: 10px;">-->
                    <!--<label class="col-md-2 control-label" style="width: 195px !important;">任务调度周期</label>-->
                    <!--<div class="col-md-4" style=" width:450px;">-->
                    <!--<input id="cronexpression" name="cronexpression" type="text" readonly="readonly" class="form-control input-inline input-medium" style="width: 336px !important;" placeholder="请设置任务调度周期" />-->
                    <!--<button id="btn_set" type="button" class="btn blue-steel">设置</button>-->
                    <!--</div>-->
                    <!--</div>-->
                    <div id="ftpinfo"
                         style="border:solid 1px #EFEFEF; padding-top: 5px; margin-top: 10px; width:900px;">
                        <div class="form-group">
                            <label class="col-md-2 control-label" style="width:130px !important;">FTP服务器地址</label>
                            <div class="col-md-4">
                                <input id="ftphost" name="ftphost" type="text"
                                       class="form-control input-inline input-medium" style="width:210px !important;"
                                       placeholder="请输入FTP服务器地址"/>
                            </div>
                        </div>
                        <div style="margin-left: 0px;" class="form-group">
                            <label class="col-md-2 control-label" style="width:140px !important; margin-right: -2px;margin-left: 142px;">FTP服务器端口号</label>
                            <div class="col-md-4">
                                <input id="ftpport" name="ftpport" type="text"
                                       class="form-control input-inline input-medium" style="width:210px !important;"
                                       placeholder="请输入FTP服务器端口号"/>
                            </div>
                        </div>
                        <hr style="margin: 10px"/>
                        <!--<div class="form-group" style="margin-top:10px; ">-->
                        <div class="form-group" style="margin-top:10px; margin-bottom: 10px;">
                            <label class="col-md-2 control-label" style="width:131px !important;">FTP登录用户</label>
                            <div class="col-md-4">
                                <input id="ftpuser" name="ftpuser" type="text"
                                       class="form-control input-inline input-medium" style="width: 210px !important;"
                                       placeholder="请输入FTP登录用户"/>
                            </div>
                        </div>
                        <!--<div class="form-group" style="margin-top:10px; margin-left: 150px;">-->
                        <div class="form-group" style="margin-top:10px; margin-bottom: 10px; margin-left: 150px;">
                            <label class="col-md-2 control-label" style="width:131px !important;margin-right: -2px;">FTP登录密码</label>
                            <div class="col-md-4">
                                <input id="ftppass" name="ftppass" type="text"
                                       class="form-control input-inline input-medium" style="width:210px !important;"
                                       placeholder="请输入FTP登录密码"/>
                            </div>
                        </div>
                    </div>
                    <!--<div class="form-group" style="margin-top: 10px;">-->
                    <!--<label class="col-md-2 control-label" style="width: 130px !important;">任务调度周期</label>-->
                    <!--<div class="col-md-4" style=" width:450px;">-->
                    <!--<input id="cronexpression" name="cronexpression" type="text" readonly="readonly" class="form-control input-inline input-medium" style="width: 336px !important;" placeholder="请设置任务调度周期" />-->
                    <!--<button id="btn_set" type="button" class="btn blue-steel">设置</button>-->
                    <!--</div>-->
                    <!--</div>-->
                    <hr style="margin: 10px"/>
                    <div class="form-group" style="width: 600px !important;">
                    <!--<div class="form-group" style="width: 600px !important; margin-top: 10px;">-->
                        <label class="col-md-2 control-label"
                               style="margin-left:30px;width: 100px !important;">描述信息</label>
                        <div class="col-md-9">
                            <textarea id="remark" name="remark" class="form-control" rows="3" style="width:400px;"
                                      placeholder="请输入描述信息"></textarea>
                        </div>
                    </div>
                    <hr style="margin: 10px"/>
                    <div class="form-group" style="margin-top: 10px;">
                        <label class="col-md-2 control-label"
                               style="margin-left:-65px;width: 195px !important;">任务调度周期</label>
                        <div class="col-md-4" style=" width:450px;">
                            <input id="cronexpression" name="cronexpression" type="text" readonly="readonly"
                                   class="form-control input-inline input-medium" style="width: 336px !important;"
                                   placeholder="请设置任务调度周期"/>
                            <button id="btn_set" type="button" class="btn blue-steel">设置</button>
                        </div>
                    </div>
                    <hr style="width:770px;"/>
                    <button id="btn_save" type="button" class="btn blue-steel  fa fa-save" style="margin-left:130px;">
                        &nbsp;&nbsp;保&nbsp;&nbsp;存
                    </button>
                    <span id="errorinfo" style="margin-left:15px; color:red;"></span>

                </div>
            </div>
        </div>
    </div>

</div>

<!--Begin 设置任务调度周期Modul-->
<div id="conModul" class="modal fade" tabindex="-1" aria-hidden="true" style="z-index:19998 !important;">
    <div class="modal-dialog" style="width:500px;">
        <div class="modal-content">
            <div class="modal-header" style="padding:8px; background-color:#4276A4;">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <span class="modal-title" style="color:#fff; font-size:16px;">设置任务调度周期</span>
            </div>
            <div class="modal-body">
                <div class="form-horizontal form-body form-inline">
                    <div class="form-group">
                        <label class="col-md-2 control-label" style="width:70px;">周期:</label>
                        <div class="col-md-4" style="width:340px;">
                            <input id="cron" name="cron" type="text"
                                   class="form-control input-inline input-medium"
                                   placeholder="请输入调度周期"/>
                            <button id="btn_affirm" type="button" class="btn blue-steel">确定</button>
                        </div>
                    </div>
                    <div class="portlet light bordered" style="margin-top: 10px; height: 300px; overflow: auto;">
                        <div class="portlet-title tabbable-line" style="min-height: 10px;">
                            <div class="caption" style="font-size: 14px; padding:5px 0;">
                                任务周期表达式实例
                            </div>
                        </div>
                        <div class="portlet-body scrollerthree tasks-widget">
                            <ul id="tasktime" class="task-list">
                                <li time="0 0 12 * * ?">"0 0 12 * * ?" 每天中午12点触发</li>
                                <li time="0 0/1 8-20 * * ?">"0 0/1 8-20 * * ?" 每天早上8点到晚上8点每1分钟执行一次</li>
                                <li time="0 15 10 * * ? 2005">"0 15 10 * * ? 2005" 2005年的每天上午10:15触发</li>
                                <li time="0 * 14 * * ?">"0 * 14 * * ?" 在每天下午2点到下午2:59期间的每1分钟触发</li>
                                <li time="0 0/5 14 * * ?">"0 0/5 14 * * ?" 在每天下午2点到下午2:55期间的每5分钟触发</li>
                                <li time="0 0/5 14,18 * * ?">"0 0/5 14,18 * * ?" 在每天下午2点到2:55期间和下午6点到6:55期间的每5分钟触发</li>
                                <li time="0 0-5 14 * * ?">"0 0-5 14 * * ?" 在每天下午2点到下午2:05期间的每1分钟触发</li>
                                <li time="0 10,44 14 ? 3 WED">"0 10,44 14 ? 3 WED" 每年三月的星期三的下午2:10和2:44触发</li>
                                <li time="0 15 10 ? * MON-FRI">"0 15 10 ? * MON-FRI" 周一至周五的上午10:15触发</li>
                                <li time="0 15 10 15 * ?">"0 15 10 15 * ?" 每月15日上午10:15触发</li>
                                <li time="0 15 10 L * ?">"0 15 10 L * ?" 每月最后一日的上午10:15触发</li>
                                <li time="0 15 10 ? * 6L">"0 15 10 ? * 6L" 每月的最后一个星期五上午10:15触发</li>
                                <li time="0 15 10 ? * 6L 2002-2005">"0 15 10 ? * 6L 2002-2005"
                                    2002年至2005年的每月的最后一个星期五上午10:15触发
                                </li>
                                <li time="0 15 10 ? * 6#3">"0 15 10 ? * 6#3" 每月的第三个星期五上午10:15触发</li>
                            </ul>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<!--End 设置任务调度周期Modul-->
<!-- Begin隐藏域 -->
<input type="hidden" id="hid_serviceId" name="hid_serviceId"/>
<input type="hidden" id="hid_servertype" name="hid_servertype"/>
<input type="hidden" id="hid_operate" name="hid_operate"/>
<input type="hidden" id="hid_projectid" name="hid_projectid"/>
<!-- End隐藏域 -->


<!--<script src="../metronic/assets/global/plugins/jquery.min.js" type="text/javascript"></script>-->
<script src="../metronic/assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="../metronic/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-touchspin/bootstrap.touchspin.min.js"
        type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="../metronic/assets/global/scripts/metronic.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-zh-CN.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-editable.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-editable.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-fixed-columns.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/icheck/icheck.min.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script src="../js/serviceConfigration/docSearchService.js" type="text/javascript"></script>

</body>
</html>